package hd.cls2;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.OutputStream;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileInpuTest {
    public static void main(String[] args)  {
        try {
            OutputStream out=new FileOutputStream("d:/test.txt");
            out.write(65);
            out.write(66);
            out.write("孙雨是个big帅哥".getBytes());
            out.close();//finally仲
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
